<template>
  <div>
    <Demo v-if="isShow"/>
    <button @click="isShow =!isShow">销毁</button>
   
  </div>
</template>

<script>
import Demo from './components/Demo.vue'
export default {
  components : { Demo},
  data() {
    return {
      isShow:true
    };
  },
  
  mounted() {
    
  },

 
};
</script>

<style lang="scss" scoped>

</style>